package br.unirio.ticketnator.dao;

import java.util.List;
import br.unirio.ticketnator.model.Ticket;

/**
 * Interface para persist�ncia de Tickets
 * @author Guilherme
 *
 */

public interface ITicketDAO {
	
	public Ticket getTicket (int id);
	
	public int conta ();
	
	public List<Ticket> lista (int pagina, int tamanho);
	
	public boolean insereTicketDAO (Ticket ticket);
	
	public boolean atualizaTicketDAO (Ticket ticket);
	
	public boolean removeTicketDAO (int id);
        
        public int getIdSistemaByNome(String nome);

}
